package com.lzy.article.service;

import com.lzy.utils.PagedGridResult;

public interface CommentPortalService {

    /**
     * 发表评论
     */
    public void createComment(String articleId,
                              String fatherCommentId,
                              String content,
                              String userId,
                              String nickname,
                              String userFace);

    /**
     * 查询文章的所有评论
     */
    public PagedGridResult queryArticleComments(String articleId,
                                                Integer page,
                                                Integer pageSize);

}

